﻿using System;

namespace AMS.DataAccess.Msg.BO
{
    [DBTable("TM_RecvMsg")]
    public class RecvMsgInfo
    {
        #region Database Column Fields
        [DBPrimaryKeyColumn("AID", true)]
        public int AID { get; set; }

        [DBColumn("RefSendMsgID", 0)]
        public int RefSendMsgID { get; set; }

        [DBColumn("FormID")]
        public int FormID { get; set; }

        [DBColumn("ToID")]
        public int ToID { get; set; }

        [DBDateTime("SendDateTime", DateTimeType.DateTime)]
        public DateTime SendDateTime { get; set; }

        [DBColumn("Category")]
        public int Category { get; set; }

        [DBColumn("Status")]
        public int Status { get; set; }

        [DBColumn("IsReplied")]
        public bool IsReplied { get; set; }

        [DBColumn("IsGroupMsgID")]
        public bool IsGroupMsgID { get; set; }

        [DBColumn("Subject")]
        public string Subject { get; set; }

        [DBColumn("Content")]
        public string Content { get; set; }

        #endregion
    }
}
